﻿namespace Shopify.Core.Domain
{
    using System.Collections.Generic;

    public class Product
    {
        public string Title { get; set; }

        public string ShortDescription { get; set; }

        public string Description { get; set; }

        public string Sku { get; set; }

        public string Price { get; set; }

        //This Price is actual price after discount any.
        public string ActualPrice { get; set; }


        public ICollection<ProductAttribute> ProductAttributes { get; set; }

        //Control Action Over Product
        public bool IsCommentable { get; set; }

        public bool IsHomePageItem { get; set; }

        public bool IsReviewable { get; set; }

        public bool IsDiscountApplicable { get; set; }

        
        //if Downloadable media then Download Info for product would be shown into UI.
        public bool IsDownloadable { get; set; }

        //if product is out of stock then it would show to user as out of stock.
        public bool IsInStock { get; set; }

        
        // if EMI applicable for the product then EMI Info Would be shown.
        public bool IsEmiApplicable { get; set; }

        //Navigational Property

        public virtual Category Category { get; set; }

        public virtual Manufacturer Manufacturer { get; set; }

    }
}
